package com.kintreda.ieco_server.module.order.service;

import com.kintreda.ieco_server.bean.order.RecycleRecord;
import com.kintreda.ieco_server.core.service.IBaseService;
import com.kintreda.ieco_server.core.web.R;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @Created by IntelliJ IDEA
 * @Project_Name ieco_server
 * @Package com.kintreda.ieco_server.module.order.service
 * @Author ZhongYao_H
 * @Date 2019/4/28:16:41
 * @Year 2019 Month 04 Day 28
 * @Date_zh 2019 年 四月 星期日
 */
public interface IRecycleRecordService extends IBaseService<RecycleRecord,String> {



     R close(String[] type,String[] ids, String[] num, String id,String differentiate,Integer rate,String explain);

     Map<String,BigDecimal> waste(String[] type,String[] ids, String[] num, String recycleId);

     Long count(String userId);

     List<Map<String,Object>> getMyRecycleRecord(String userid);

     Long  countIncome(String userId);

     List<RecycleRecord> getListByUserId(String userId);

     List<RecycleRecord> getListByCode(String code);

     List<Map<String,Object>> getOrgListByOrgId(String orgId);

     List<Map<String,Object>> getOrgListByUserId(String orgId);

     List<Map<String,Object>> getAll();

     Long countCloseByOrgId(String orgId);

     Long countCloseByUserId(String userId);

     Map<String,Object> ePValue(String orgId);
     Map<String,Object> ePValueByUserId(String userId);

     Map<String,Object> ePValueAll();



}
